#ifndef MATRIXKEY_H
#define MATRIXKEY_H

#include "ZComDef.h"
#include "ioCC2530.h"

#define MATRIX_SCAN_EVENT             0x0200
#define MATRIX_KEY_NOTUFY_EVENT       0x0800
#define MATRIX_KEY_PRESSED_MSG        0xAA

typedef struct
{
  osal_event_hdr_t hdr;
  uint8* data;
} keyValues_t;

void Matrix_Task_Init( byte task_id );
uint16 Matrix_ProcessEvent( byte task_id, uint16 events );

#endif 